package com.ourfox.platform.main;
/**
 * 
 * <p>Title: ErpCore.java</p>
 * <p>Description: 平台</p>
 * <p>Company: ourfox</p>
 *
 * @author luoxiujin<xiujin.luo@gmail.com>  
 * @version V1.0
 * @date 2011-10-10 下午10:27:56
 *
 */
public class PlatformCore {

	/**
	 * 单例
	 */
	private static PlatformCore erpCore;
	
	/**
	 * 系统信息
	 */
	private SystemInfo systemInfo;
	
	private PlatformCore(){
		this.systemInfo = new SystemInfo();
	}
	
	public static PlatformCore getInstance(){
		
		if(erpCore == null){
			erpCore = new PlatformCore();
		}
		
		return erpCore;
	}

	public SystemInfo getSystemInfo() {
		return systemInfo;
	}

	public void setSystemInfo(SystemInfo systemInfo) {
		this.systemInfo = systemInfo;
	}
	
	
}
